.Detail {
    height: 100%;
    width: 100%;
}

/* 头部 */
.DetailTop {
    box-sizing: border-box;
    background-color: var(--bg_1);
    width: 100%;
    height: 30%;
    max-height: 10rem;
}

.DetailTop .DetailTopTitle {
    display: flex;
    align-items: center;
    padding: 1rem;
}

.DetailTop .DetailTopTitle>span {
    font-size: calc(var(--fontSize) + .25rem);
    color: white;
}

.DetailTop .DetailTopTitle>button {
    background-color: var(--bg_1);
    color: white;
}

.DetailTop .DetailTopTitle>button>span {
    font-size: calc(var(--fontSize) - .2rem);
}

.DetailTop .DetailTopTitle>button:nth-child(2) {
    /* border-right: 1px solid white; */
    margin-left: auto;
}

/* 类型选择 */
.DetailTop .DetailTopType {
    margin: .5rem 0 .5rem 1rem;
    display: flex;
}

.DetailTop .DetailTopType>div {
    width: 50%;
    height: 100%;
}

.DetailTop .DetailTopType>div>button {
    opacity: 0.5;
    color: black;
    font-size: calc(var(--fontSize) - .2rem);
}

.DetailTop .DetailTopType>div>button>span>span {

    padding-right: .5rem;
    border-right: .05rem solid black;
    margin-right: .5rem;

}

.DetailTopTypeContent {
    padding-bottom: 1.5rem;
}

.DetailTopTypeContent .adm-grid .adm-selector-item {
    font-weight: 500;
    color: black;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 100%;
    text-transform: uppercase
}

.DetailTopTypeTitle {
    align-items: center;
    display: flex;
    margin-bottom: .75rem;
    margin-left: .5rem;
    font-size: calc(var(--fontSize) - .2rem);
    color: #215ae5;
}
.DetailTopTypeTitle .adm-image{
    margin-left: .5rem;
}
/* 时间部分 */
.DetailTop .DetailTopType .DetailTopTime>button {
    margin-top: .25rem;
    margin-left: .25rem;
    border: 0;
    background-color: var(--bg_1);
    font-size: calc(var(--fontSize) - .2rem);
    color: white;
    position: relative;

}

.DetailTop .DetailTopType .DetailTopTime>button>span {
    text-align: center;
}

/* 总收入/总支出 */
.DetailTop .DetailTopType .DetailTopTypeCost {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: .5rem;
}

.DetailTop .DetailTopType .DetailTopTypeCost>div {
    text-align: center;
    width: 50%;
    height: 100%;
}

.DetailTop .DetailTopType .DetailTopTypeCost>div>span {
    display: block;
    font-size: calc(var(--fontSize) - .1rem);
    color: white;
}


.DetailContain2 {
    width: 100%;
    background-color: white;
    overflow: auto;
    min-height: 70%;
}

.DetailContain2 .adm-list {
    --adm-color-background: gainsboro !important;
}

.DetailContain2 .adm-list-header>div {
    display: flex;
    padding: .5rem;

}

.DetailContain2 .adm-list-header>div>span:nth-child(1) {
    font-size: calc(var(--fontSize) );
    color: black;
}

.DetailContain2 .adm-list-header>div>span:nth-child(2) {
    margin-left: auto;
    font-size: calc(var(--fontSize) );
    margin-right: .4rem;
}

.DetailContain2 .adm-list-header>div>span:nth-child(2)>i,
.DetailContain2 .adm-list-header>div>span:nth-child(3)>i {
    margin-left: .25rem;
    color: black;
    font-size: calc(var(--fontSize) - .1rem);
}

.DetailContain2 .adm-list-body .adm-list-item-content-main {
    font-size: calc(var(--fontSize) + .25rem);
}

.DetailContain2 .adm-list-body .adm-list-item-content-extra {
    font-size: calc(var(--fontSize));
    padding-right: 1rem;
}

/* 额外字体 */
.DetailContain2 .adm-list-body .adm-list-item-description{
    font-size: calc(var(--fontSize) - .35rem);
}